home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1988 / Oct⁄Nov 88 / Re-jumping over⁄11.10.88 ⁄ < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.3 KB  |  39 lines  |  [TEXT/GEOL]

  1. Item    1086463                         10-Nov-88        08:36
  2.  
  3. From:   SCHMUCKER1                      Schmucker, Kurt
  4.  
  5. To:     D1157                           All Star Computer, Dev, L Goldman
  6.  
  7. cc:     MACAPP.TECH$                    MACAPP Tech
  8.  
  9. Sub:    Response to Jumping Over
  10.  
  11. Larry,
  12.  
  13.     In the world of object-oriented languages, the ability to do something like
  14.             .
  15.             .
  16.             INHERITED INHERITED DoSetupMenus(…);
  17.             .
  18.             .
  19.  
  20. is quite rare.  I do not believe that Object Pascal provides language support
  21. for this, nor does Smalltalk or Objective-C.  C++ does, but the "price" you pay
  22. for this capability is very high: in C++, you must explictly code all such
  23. calls to a particular superclass.  Thus, you cannot (in C++) say, "Call my
  24. ancestor's version of the FooBar method", rather you must hard code "Call the
  25. FooBar method of class Frob."   This makes replicating the elegant Smalltalk
  26. collection classes in C++ either very hard or very ugly (some say both, but
  27. that is a different discussion.)
  28.  
  29.     If I recall correctly, Apple's first object-oriented extension of Pascal,
  30. Clascal, did have the feature you have asked for.  It was not included in
  31. Object Pascal because it was considered a violation of the OOP spirit.
  32.  
  33.  
  34.  
  35.                     Kurt
  36.  
  37.  
  38.  
  39.